package anatex.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import anatex.domain.DocumentDomain;
import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@RooJavaBean
@RooToString
@RooEntity
public class DocumentDomainTaskLog {

    @ManyToOne
    private DocumentDomain documentDomainTask;
    
    private Integer iteration;

    private Double averageFitness;

    @Temporal(TemporalType.TIMESTAMP)
    @DateTimeFormat(style = "-S")
    private Date logTime;
}
